﻿<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path+"/";
%>
<html xmlns="http://www.w3.org/1999/xhtml"> 
	<head>
	<base href="<%=basePath%>"/>
		<title>新生入学管理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" type="text/css"
			href="themes/css/ui.default.css" />
		<link id="css_skin" rel="stylesheet" type="text/css"
			href="themes/css/ui.blue.css" />
		<link href="themes/css/ui.tips.css" rel="stylesheet" type="text/css" />  
		<script src="Scripts/jquery-1.4.1.min.js"></script>
		<script src="Scripts/jquery.json-2.2.min.js" type="text/javascript"></script>
		<script src="Scripts/jquery-ui-1.8.custom.min.js"
			type="text/javascript"></script>
		<script src="Scripts/jquery.cookie.js" type="text/javascript"></script>
		<script src="Scripts/ui.customiszer.js" type="text/javascript"></script>
		<script src="Scripts/ui.index.js" type="text/javascript"></script>
		<script src="Scripts/ui.default.js" type="text/javascript"></script>  
		<script src="Scripts/ui.navigator.js" type="text/javascript"></script>
	    <script src="Scripts/ui.MenuHandler.js" type="text/javascript"></script>
		<script src="Scripts/ui.MenuLoader.js" type="text/javascript"></script>

		<script type="text/javascript">
        var timer;
        var loginPath = 'login!logout.action';
        $(function () {
            setSkin(getSkinFromCookie($("#hf_SkinName").val()));
            InitialNavigator();
            //timer = setInterval("peekMailCount()", 60 * 3 * 1000);
            //peekMailCount();
            $("#mainFrame").bind({ "readystatechange": function () {
                if (this.readyState == 'complete') {
                    $(".iframeFather").hide();
                }
            }
            });

            //Find The Menu Item By the Link URL 
            $(".nav-btn").click(function () {
                findMenuByLinkPageAndClick($(this).attr("href"));
            });
            //..
            errorTipsli_Click();
            //
            $(".iframeFather").show();
          
        });
	</script>
    <style type="text/css">
        a img
        {
            border: none;
        }
        .hiddenObject
        {
            display: none;
        }
    </style>
	</head>
	<body style="overflow: hidden;" onload="init();">
		<form id="form1">
			<input type="hidden" id="hf_SkinName" value="SkinFor_" />
			<table height="100%" cellspacing="0" cellpadding="0">
				<tbody>
					<tr>
						<td id="td_page_head" height="106" colspan="3">
							<!-- page_head -->
							<div id="page_head">
								<div id="page_head_bg">
									<div id="head_left">
									</div>
									<div id="head_right" align="right">
										<!-- 顶部按钮 -->
										<!-- END 顶部按钮 -->
										<div class="head_btn">
											<a href="javascript:"
												onclick="logout(loginPath);" title="退出系统">
												<img name="btn"
													src="themes/images/default/icons/logout.png" width="36"
													height="36" alt=""> <br /> 退出</a>
										</div>
										<div class="head_btn">
											<a href="staffInfo!toQueryStaff.action" class="nav-btn"
												target="main" onclick=""> <img name="btn"
													src="themes/images/default/icons/lrlr_054.png"
													width="36" height="36" alt=""> <br /> 个人信息 </a>
										</div>
									</div>
									<div class="clear">
									</div>
								</div>
								<div class="page_head_line">
								</div>
							</div>
							<!-- end page_head -->
							<div id="page_head_line">
								<div id="head_line_left" style="width: 235px;">
									欢迎使用...
								</div>
								<div id="head_line_left2"
									style="margin: 0px; width: 500px; text-align: left;">
									当前位置:
									<a href="login!home.action" id="btn_Go_Home"
										onclick="showMainPageBg();" target="main"> 首页</a>
									<span id="span-navigator-nav-info">  &nbsp; <a
										id="btn_QuickLoginOut"
										href="javascript:" onclick="logout(loginPath);"
										class="hiddenObject" title="退出当前登录.回到登录界面..">退出</a></span>
								</div>
								<div id="head_line_right">
									<span class="head_line_item">]</span>
									<img class="skin_btn" onclick="SkinConvert('black')"
										src="themes/images/default/skin_black.jpg" title="黑色" />
									<img class="skin_btn" onclick="SkinConvert('blue')"
										src="themes/images/default/skin_blue.jpg" title="蓝色" />
									<img class="skin_btn" onclick="SkinConvert('brown')"
										src="themes/images/default/skin_brown.jpg" title="褐色" />
									<span class="head_line_item">[切换风格:</span>
									<span class="head_line_item" style="margin-right: 5px;">
										<a href="javascript:void(0);" id="page_max" onclick="">[最大化]</a>
									</span><span class="head_line_item" style="margin-right: 5px;"></span><span
										class="head_line_item" style="margin-right: 5px;"> </span><span
										class="head_line_item" style="margin-right: 5px;"></span><span
										class="head_line_item" style="margin-right: 5px;"></span>
									<div class="clear">
									</div>
								</div>
								<div class="clear">
								</div>
							</div>
						</td>
					</tr>
					<tr>
						<td id="page_main_left" width="214" height="100%" nowrap="nowrap"
							name="fmTitle" align="center" valign="top" style="height: 100%;">
							<div style="height: 100%; overflow: auto;">
								<div id="navigation_main"
									style="overflow: scroll visible; height: 100%; overflow-x: hidden; overflow-y: auto;">
									<div id="userinfo">
										<!-- 用户信息-->
										<div
											style="padding-left: 53px; padding-top: 15px; font-size: 12px; text-align: left;">
											<span>${staffInfo.postInfo.postName }</span>
											<br />
											<span id="lblCurrentUserInfo">${staffInfo.staffName }</span>
											<br />
										</div>
									</div>
									<!-- 导航条 -->
									<div id="MainMenu" class="Page_navigation">
										<div id="MainMenuTips" class="red-tips">
											 
										</div>
									</div>

									<!-- END导航条 -->
								</div>
							</div>
						</td>
						<td id="page_main_mid" width="8" valign="middle">
							<span id="main_line_btn" class="main_line_btna"></span>
						</td>
						<td width="100%" align="center" valign="top" style="">
							<div class="iframeFather"
								style="z-index: 949; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; text-align: center; line-height: 40px; font-size: 12px; display: none;">
								<div
									style="margin-top: 220px; color: red; filter: alpha(opacity =   70); height: 30px;">
									<div
										style="width: 128px; margin: auto; height: 30px; background-color: #fff; border: 2px solid #ccc; color: #666;">
										<img alt="状态" src="themes/images/default/icons/loading.gif"
											style="width: 28px; height: 28px; float: left;" />
										<span id="lbl_Theme"
											style="width: 90px; height: 28px; float: left; line-height: 30px;">
											加载中,请稍候...</span>
									</div>
								</div>
							</div>
							&nbsp;
							<iframe name="main" id="mainFrame" height="100%"
								width="100%" border="0" frameborder="0"
								src="login!home.action">
								浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。
							</iframe>
						</td>
					</tr>
					<tr id="td-footer">
						<td id="page_foot" height="30" colspan="3">
							<div align="center">
								Copyright&nbsp;2012&nbsp;&copy;&nbsp;学生指导部&nbsp;版权所有
							</div>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</body>
</html>